/*--------------------------------------------------------------------------------
 * Adaptive Intelligence - Foundation Framework
 * Version 2.10
 * 
 * Application Database Factory Interface
 *      Provides a common signature definition for classes which provide platform-
 * specific database factory services.
 *------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------
 * System Imports
 *------------------------------------------------------------------------------*/
using System;
using System.Data;
using System.Data.Common;

namespace Adaptive.Foundation.Data
{
    /// <summary>
    /// Provides a common signature definition for classes which provide platform-
    /// specific database factory services.
    /// </summary>
    public interface IApplicationDatabaseFactory
    {
        /*--------------------------------------------------------------------------------
         * Methods / Functions
		 *------------------------------------------------------------------------------*/
        #region Methods / Functions
        /// <summary>
        /// Creates the data actor instance specified by the application settings.
        /// </summary>
        /// <returns>
        /// A <see cref="DataActorBase"/> instance.
        /// </returns>
        DataActorBase CreateDataActor();
        #endregion
    }
}